package com.genersoft.iot.vmp.vmanager.gb28181.hgj;

import com.genersoft.iot.vmp.gb28181.bean.DeviceChannel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ChannelMapper {

    @Select("select * from wvp_device_channel where yj_channel = #{uriId} or gt_channel = #{uriId}")
    DeviceChannel getChannel(@Param("uriId")String uriId);

}
